import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/safe_real_time_monitor_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/safe_real_time_monitor_entity.g.dart';

@JsonSerializable()
class SafeRealTimeMonitorEntity {
	int? id;
	int? companyId;
	String? companyName;
	dynamic pointId;
	String? point;
	dynamic alarmType;
	int? alarmLevel;
	int? val;
	int? alarmStartTime;
	int? alarmEndTime;
	int? status;
	dynamic disposalMethod;
	dynamic disposalMeasures;
	dynamic disarmingDescription;
	dynamic disposalMeasuresAnnex;
	String? disarmingDescriptionAnnex;
	dynamic alramMinimum;
	int? createTime;

	SafeRealTimeMonitorEntity();

	factory SafeRealTimeMonitorEntity.fromJson(Map<String, dynamic> json) => $SafeRealTimeMonitorEntityFromJson(json);

	Map<String, dynamic> toJson() => $SafeRealTimeMonitorEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}